package com.cloud.logger.zchain.zchainserver.util;

/**
 * 浙江卓锐科技股份有限公司
 *
 * @author zhengyt
 * @create 2017/12/19
 * @description
 */
public class LoginUserThreadLocal {

    private static final ThreadLocal<String> currentUser = new ThreadLocal<String>();

    public static String getCurrentUser() {
        return currentUser.get();
    }

    public static void setCurrentUser(String token) {
         currentUser.set(token);
    }
}